<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Clause: chatopera::bot::crfsuite::Tagger类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Clause
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Chatopera Language Understanding Service.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="inherits.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacechatopera.html">chatopera</a></li><li class="navelem"><b>bot</b></li><li class="navelem"><b>crfsuite</b></li><li class="navelem"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html">Tagger</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">chatopera::bot::crfsuite::Tagger类 参考<div class="ingroups"><a class="el" href="group__crfsuite__hpp__api__doc.html">Data structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="crfsuite__api_8hpp_source.html">crfsuite_api.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6b6fde3ec86916b6b027d965ad18e0dd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a6b6fde3ec86916b6b027d965ad18e0dd">Tagger</a> ()</td></tr>
<tr class="separator:a6b6fde3ec86916b6b027d965ad18e0dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee52a1706b27d23279e613c63569aca1"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#aee52a1706b27d23279e613c63569aca1">~Tagger</a> ()</td></tr>
<tr class="separator:aee52a1706b27d23279e613c63569aca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ceb2bff257971168111e11eaaccecec"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a2ceb2bff257971168111e11eaaccecec">open</a> (const std::string &amp;name)</td></tr>
<tr class="separator:a2ceb2bff257971168111e11eaaccecec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a579c145c5d81f1ee0f5d5deb67c36a2c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a579c145c5d81f1ee0f5d5deb67c36a2c">close</a> ()</td></tr>
<tr class="separator:a579c145c5d81f1ee0f5d5deb67c36a2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc420fb3da21e8a3f9775125f902e0ca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__crfsuite__hpp__api__doc.html#gaf82774957c9896d38894cddd592aa061">StringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#afc420fb3da21e8a3f9775125f902e0ca">labels</a> ()</td></tr>
<tr class="separator:afc420fb3da21e8a3f9775125f902e0ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0808b117ae2ce996d4eefd218f21f1b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__crfsuite__hpp__api__doc.html#gaf82774957c9896d38894cddd592aa061">StringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a0808b117ae2ce996d4eefd218f21f1b5">tag</a> (const <a class="el" href="group__crfsuite__hpp__api__doc.html#ga34f58d96010025b06e985a6710fbfd05">ItemSequence</a> &amp;xseq)</td></tr>
<tr class="separator:a0808b117ae2ce996d4eefd218f21f1b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71aa12dd4d3a24b699bc19f7f213eeea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a71aa12dd4d3a24b699bc19f7f213eeea">set</a> (const <a class="el" href="group__crfsuite__hpp__api__doc.html#ga34f58d96010025b06e985a6710fbfd05">ItemSequence</a> &amp;xseq)</td></tr>
<tr class="separator:a71aa12dd4d3a24b699bc19f7f213eeea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b40c2d70524d08b3444b73a1e4a4dcf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__crfsuite__hpp__api__doc.html#gaf82774957c9896d38894cddd592aa061">StringList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a9b40c2d70524d08b3444b73a1e4a4dcf">viterbi</a> ()</td></tr>
<tr class="separator:a9b40c2d70524d08b3444b73a1e4a4dcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7913f77adca5f0bc4baf4e9074d2227b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a7913f77adca5f0bc4baf4e9074d2227b">probability</a> (const <a class="el" href="group__crfsuite__hpp__api__doc.html#gaf82774957c9896d38894cddd592aa061">StringList</a> &amp;yseq)</td></tr>
<tr class="separator:a7913f77adca5f0bc4baf4e9074d2227b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae25eaf1d0a224f95450b3d05fe6ad60c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#ae25eaf1d0a224f95450b3d05fe6ad60c">marginal</a> (const std::string &amp;y, const int t)</td></tr>
<tr class="separator:ae25eaf1d0a224f95450b3d05fe6ad60c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a36b4de7792674048830291ad480b2797"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36b4de7792674048830291ad480b2797"></a>
crfsuite_model_t *&#160;</td><td class="memItemRight" valign="bottom"><b>model</b></td></tr>
<tr class="separator:a36b4de7792674048830291ad480b2797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a738efd32b8a7531317cce67c5a0d5735"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a738efd32b8a7531317cce67c5a0d5735"></a>
crfsuite_tagger_t *&#160;</td><td class="memItemRight" valign="bottom"><b>tagger</b></td></tr>
<tr class="separator:a738efd32b8a7531317cce67c5a0d5735"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>The tagger class. This class provides the functionality for predicting label sequences for input sequences using a model. </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a6b6fde3ec86916b6b027d965ad18e0dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">chatopera::bot::crfsuite::Tagger::Tagger </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Construct a tagger. </p>

</div>
</div>
<a class="anchor" id="aee52a1706b27d23279e613c63569aca1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">chatopera::bot::crfsuite::Tagger::~Tagger </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Destruct a tagger. </p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a579c145c5d81f1ee0f5d5deb67c36a2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void chatopera::bot::crfsuite::Tagger::close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Close the model. </p>

</div>
</div>
<a class="anchor" id="afc420fb3da21e8a3f9775125f902e0ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__crfsuite__hpp__api__doc.html#gaf82774957c9896d38894cddd592aa061">StringList</a> chatopera::bot::crfsuite::Tagger::labels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Obtain the list of labels. </p><dl class="section return"><dt>返回</dt><dd>StringList The list of labels in the model. </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::invalid_argument</td><td>A model is not opened. </td></tr>
    <tr><td class="paramname">std::runtime_error</td><td>An internal error. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae25eaf1d0a224f95450b3d05fe6ad60c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double chatopera::bot::crfsuite::Tagger::marginal </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Compute the marginal probability of the label. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">y</td><td>The label. </td></tr>
    <tr><td class="paramname">t</td><td>The position of the label. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::invalid_argument</td><td>A model is not opened. </td></tr>
    <tr><td class="paramname">std::runtime_error</td><td>An internal error. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2ceb2bff257971168111e11eaaccecec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool chatopera::bot::crfsuite::Tagger::open </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Open a model file. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The file name of the model file. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool <code>true</code> if the model file is successfully opened, <code>false</code> otherwise (e.g., when the mode file is not found). </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::runtime_error</td><td>An internal error in the model. </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classchatopera_1_1bot_1_1crfsuite_1_1Tagger_a2ceb2bff257971168111e11eaaccecec_icgraph.png" border="0" usemap="#classchatopera_1_1bot_1_1crfsuite_1_1Tagger_a2ceb2bff257971168111e11eaaccecec_icgraph" alt=""/></div>
<map name="classchatopera_1_1bot_1_1crfsuite_1_1Tagger_a2ceb2bff257971168111e11eaaccecec_icgraph" id="classchatopera_1_1bot_1_1crfsuite_1_1Tagger_a2ceb2bff257971168111e11eaaccecec_icgraph">
<area shape="rect" id="node2" href="classchatopera_1_1bot_1_1clause_1_1Bot.html#ae5d85b04c38e6814746c37a81846dd76" title="chatopera::bot::clause\l::Bot::init" alt="" coords="224,5,389,47"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7913f77adca5f0bc4baf4e9074d2227b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double chatopera::bot::crfsuite::Tagger::probability </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__crfsuite__hpp__api__doc.html#gaf82774957c9896d38894cddd592aa061">StringList</a> &amp;&#160;</td>
          <td class="paramname"><em>yseq</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Compute the probability of the label sequence. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">yseq</td><td>The label sequence. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::invalid_argument</td><td>A model is not opened. </td></tr>
    <tr><td class="paramname">std::runtime_error</td><td>An internal error. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a71aa12dd4d3a24b699bc19f7f213eeea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void chatopera::bot::crfsuite::Tagger::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__crfsuite__hpp__api__doc.html#ga34f58d96010025b06e985a6710fbfd05">ItemSequence</a> &amp;&#160;</td>
          <td class="paramname"><em>xseq</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set an item sequence. This function sets an item sequence for future calls for <a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a9b40c2d70524d08b3444b73a1e4a4dcf">viterbi()</a>, <a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a7913f77adca5f0bc4baf4e9074d2227b">probability()</a>, and <a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#ae25eaf1d0a224f95450b3d05fe6ad60c">marginal()</a> functions. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xseq</td><td>The item sequence to be tagged </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::invalid_argument</td><td>A model is not opened. </td></tr>
    <tr><td class="paramname">std::runtime_error</td><td>An internal error. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0808b117ae2ce996d4eefd218f21f1b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__crfsuite__hpp__api__doc.html#gaf82774957c9896d38894cddd592aa061">StringList</a> chatopera::bot::crfsuite::Tagger::tag </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__crfsuite__hpp__api__doc.html#ga34f58d96010025b06e985a6710fbfd05">ItemSequence</a> &amp;&#160;</td>
          <td class="paramname"><em>xseq</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Predict the label sequence for the item sequence. This function calls <a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a71aa12dd4d3a24b699bc19f7f213eeea">set()</a> and <a class="el" href="classchatopera_1_1bot_1_1crfsuite_1_1Tagger.html#a9b40c2d70524d08b3444b73a1e4a4dcf">viterbi()</a> functions to obtain the label sequence predicted for the item sequence. </p><dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">xseq</td><td>The item sequence to be tagged. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>StringList The label sequence predicted. </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::invalid_argument</td><td>A model is not opened. </td></tr>
    <tr><td class="paramname">std::runtime_error</td><td>An internal error. </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classchatopera_1_1bot_1_1crfsuite_1_1Tagger_a0808b117ae2ce996d4eefd218f21f1b5_icgraph.png" border="0" usemap="#classchatopera_1_1bot_1_1crfsuite_1_1Tagger_a0808b117ae2ce996d4eefd218f21f1b5_icgraph" alt=""/></div>
<map name="classchatopera_1_1bot_1_1crfsuite_1_1Tagger_a0808b117ae2ce996d4eefd218f21f1b5_icgraph" id="classchatopera_1_1bot_1_1crfsuite_1_1Tagger_a0808b117ae2ce996d4eefd218f21f1b5_icgraph">
<area shape="rect" id="node2" href="classchatopera_1_1bot_1_1clause_1_1Bot.html#a72083ff4fc8199e0f4690622a8e493bf" title="chatopera::bot::clause\l::Bot::chat" alt="" coords="224,5,389,47"/>
<area shape="rect" id="node3" href="classchatopera_1_1bot_1_1clause_1_1ServingHandler.html#aca48387fd1fa595d22c84916fe6a289d" title="chatopera::bot::clause\l::ServingHandler::chat" alt="" coords="437,5,603,47"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9b40c2d70524d08b3444b73a1e4a4dcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__crfsuite__hpp__api__doc.html#gaf82774957c9896d38894cddd592aa061">StringList</a> chatopera::bot::crfsuite::Tagger::viterbi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Find the Viterbi label sequence for the item sequence. </p><dl class="section return"><dt>返回</dt><dd>StringList The label sequence predicted. </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">std::invalid_argument</td><td>A model is not opened. </td></tr>
    <tr><td class="paramname">std::runtime_error</td><td>An internal error. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/ner/src/<a class="el" href="crfsuite__api_8hpp_source.html">crfsuite_api.hpp</a></li>
<li>src/ner/src/<a class="el" href="crfsuite_8hpp_source.html">crfsuite.hpp</a></li>
</ul>
</div><!-- contents -->
<address class="footer">
    <small>
        &nbsp; Copyright (c) (2019-2020) &nbsp;<a href="https://www.chatopera.com">
            北京华夏春松科技有限公司
        </a>. All Rights Reserved
        &nbsp;
    </small>
</address>